# coding=utf8

# Copyright 2018 JDCLOUD.COM
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
#     http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
#
# NOTE: This class is auto generated by the jdcloud code generator program.


class RelationResource(object):

    def __init__(self, appCode=None, serviceCode=None, resourceId=None, resourceName=None, region=None, billingType=None, expireTime=None, lastTime=None, autoRenewStatus=None, extendField=None):
        """
        :param appCode: (Optional) 业务线
        :param serviceCode: (Optional) 产品线
        :param resourceId: (Optional) 资源ID
        :param resourceName: (Optional) 资源名称
        :param region: (Optional) 地域
        :param billingType: (Optional) 资源计费类型(CONFIG-按配置,FLOW-按用量,MONTHLY-包年包月)
        :param expireTime: (Optional) 资源到期时间
        :param lastTime: (Optional) 倒计时
        :param autoRenewStatus: (Optional) 开通自动续费状态(UNOPENED-未开通,OPENED-已开通)
        :param extendField: (Optional) 扩展字段，包括数据库类型、资源特殊说明等
        """

        self.appCode = appCode
        self.serviceCode = serviceCode
        self.resourceId = resourceId
        self.resourceName = resourceName
        self.region = region
        self.billingType = billingType
        self.expireTime = expireTime
        self.lastTime = lastTime
        self.autoRenewStatus = autoRenewStatus
        self.extendField = extendField
